package com.itheima.dubbo.impl;

import com.itheima.dubbo.UserInterFace;
import com.itheima.dubbo.pojos.User;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService
public class UserServiceimpl implements UserInterFace {
    @Override
    public String Hello(String name) {
        return "Hello Dubbo" + name;
    }

    @Override
    public User getUser(User user) {

        return new User("灯芯见",12,user.getId());
    }
}
